home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / grafica / aktiff-datatype / akdt_install next >
Text File  |  1999-01-01  |  21KB  |  450 lines

  1. ;********************************************************************************
  2. ;            __     ____           __           __                 
  3. ;           / /__  / __ \        _/ /_        _/ /_               
  4. ;   ______ / // / / / / /______ /  __/______ /  __/__  __ ______ ______
  5. ;  / __  // _  / / / / // __  / / /  / __  / / /   \ \/ // __  // ____/
  6. ; / __  // /| | / /_/ // __  / / /_ / __  / / /_    \  // /_/ // __/_
  7. ;/_/ /_//_/ |_|/_____//_/ /_/ /___//_/ /_/ /___/    / // ____//_____/
  8. ;                                                  /_// /    
  9. ; akJFIF, akLJPG, akPNG, akSVG, akGIF                /_/    
  10. ; FAXX, akBMP, akTIFF
  11. ;
  12. ; $VER: akDT_Installer 0.99f (December-14-1998)
  13. ; Installer by Robert C. Reiswig ©1996,1997,1998
  14. ;
  15. ; If you wish to use any part of this installer you must ask. May not be 
  16. ; integrated/placed into any other package! Changes, suggestions or problems:
  17. ; akDatatype@vgr.com 
  18. ;--------------------------------------------------------------------------------
  19. ;
  20. ;********************************************************************************
  21. (set Pizza 0)
  22. (if (= @user-level 0) (set @user-level 1))
  23. (set whereback "SYS:Storage")
  24. (set dtdest (tackon whereback "Datatypes"))
  25. (set cksum 0)
  26.  
  27. (foreach "classes/datatypes" "#?.datatype" (set wakdt @each-name) ) 
  28. ;(set vernum1 (getversion (cat "classes/datatypes/" wakdt))) (set ver1 (/ vernum1 65536)) 
  29. ;(set rev1 (- vernum1 (* ver1 65536) ) ) (set akdtver (cat ver1 "." rev1))
  30.  
  31. (set cpu (database "cpu")) 
  32. (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 5) )
  33. (if (= cpu 68000) (set #cpu 0)) (if (= cpu 68010) (set #cpu 1))
  34. (if (= cpu 68020) (set #cpu 2)) (if (= cpu 68030) (set #cpu 3))
  35. (if (= cpu 68040) (set #cpu 4)) (if (= cpu 68060) (set #cpu 5)) 
  36. (if (= wakdt "faxx.datatype") (set extraC "\n\n&\n\n(C)opyright 1995-98 GPSoft"))
  37.  
  38. ;********************************************************************************
  39. ;English Information  
  40. ;********************************************************************************
  41. (set #about (cat "\n\n\nWelcome to the " wakdt "\n\n(C)opyright 1996-1998 by Andreas R. Kleinert" extraC) )
  42. (set #whereDTs "In what directory are the Datatypes located? (Not the 'Datatypes' dir itself, 1 level up, ie 'Classes'.) If they aren't installed, select where you wish to install them. (Default: 'SYS:classes'.)")
  43. (set #dtdirnotfound "\nThe 'Datatypes' directory was not found. Please select where you have the 'Datatypes' directory located. Do not select the 'Datatypes' directory itself, but one directory level up. If you have the datatypes in 'SYS:classes/datatypes' you would pick 'SYS:classes'.\n\n'datatypes' directory not found in:\n\n") 
  44. (set #backupdts " BackUp Current Datatype & Prefs")
  45. (set #whattodo "\nWould you like to backup the Datatypes Currently installed on your system that will be updated, along with the Prefs program if installed?\n")
  46. (set #whereback "Where would you like to BackUp the Datatypes? If a directory Called 'Datatypes' is not there one will be created. (Default is 'SYS:Storage')")
  47. (set #wherebackp "Where would you like to BackUp the Prefs Program?")
  48. (set #askcpu "\nCPU Check: What CPU does the machine have that you are installing the Datatype on? The installer has found:\n")
  49. (set #backup1 "\nThe Datatype was Backed-up to:\n")
  50. (set #backup2 "\n\nThe 'Devs:' files that were backed-up will have the <checksum> of the file appended to the file name.")
  51. (set #wow1 "\nInstaller Failed, newer Datatype not installed/updated.")
  52. (set #foundnonak1 "\nThe installer has found that you have a '")
  53. (set #foundnonak2 "' installed.  This will create a conflict with the '")
  54. (set #foundnonak3 "' that is used for decoding pictures.\n\n Is it ok to move the datatype to:\n\n")
  55. (set #Skip "Skip")
  56. (set #Delete "Delete")
  57. (set #movedt "Move DT")
  58. (set #tools "\nWhat Datatype Prefs(s) would you like to install?\n")
  59. (set #akprefs " - Prefs for ")
  60. (set #Where "Where do you wish to install ")
  61. (set #whereakprefs "? If there is a copy already there a backup of it will be created!")
  62.  
  63. (set #patching  (cat "\n\nPatching 'classes/datatypes/" wakdt "' in the archive to create the "))
  64. (set #patching1 " version to install.")
  65. (set #nowizlib "\n\nThe Prefs program needs a library called 'wizard.library'.\n\nThe installer did not find this in libs:\n\nYou can find a copy of 'wizard.library' on Aminet at:\nbiz/haage/WizardLibrary.lha")
  66.  
  67. (set #instppc "The installer has found 'libs:PPC.library'. Would you like to install the DEMO PPC module so this datatype can use it? You will need to register to get a full working PPC version, the demo only draws every 3rd line. It will be copied to: ")
  68. (set #no " No")
  69. (set #yes " Yes")
  70.  
  71. (set #vmem "If you run out of memory while trying to display a picture that uses the AK datatype it can use the hard drive as temporary memory. You will need to assign 'VMEM:' to some place if you select yes. The installer can do this if you wish.")
  72. (set #vmem1 "Going to add VMEM: assign to user-startup") 
  73. (set #Wherevmem "Where do you wish to assign 'VMEM:'")
  74.  
  75. (set #updateinstaller "\nJust to let you know ESCOM AG has released a new version of the installer program.\n\n\nVersion 43.3 can be found on Aminet in:\n\n/util/misc/Installer-43_3.lha\n\n\nYou might want to upgrade soon. Older installers might fail.")
  76.  
  77. ;***********************************************************************************************
  78. ; Español/Spanish strings: Dámaso D. Estévez/amidde@arrakis.es, Thu, 05 Mar 1998 21:07:35 +0200
  79. ;***********************************************************************************************
  80. (if (= @language "español")
  81. (
  82.  (set #about (cat "\n\n\n¡Bienvenido a " wakdt "!\n\n(C)opyright 1996-1998 Andreas R. Kleinert" extraC))
  83.  (set #whereDTs "¿En qué directorio se encuentra el directorio de filtros?\nNo indique el camino de acceso al propio directorio 'Datatypes' que los contiene: indique el camino de acceso al directorio inmediatamente superior del que depende éste, normalmente denominado 'Classes'. Si no hay ningún filtro instalado (no existe el directorio de filtros), elija el lugar donde desea crearlo (por defecto en 'SYS:Classes')")
  84.  (set #dtdirnotfound "\nEl directorio 'Datatypes' no ha sido encontrado. Por favor, elija el lugar donde éste está situado.  No seleccione el directorio 'Datatypes': seleccione el directorio del que depende, de manera que si p. ej. los filtros estuviesen situados en 'SYS:Classes/Datatypes' debería seleccionar como directorio 'SYS:Classes'.\n\nEl directorio 'Datatypes' no se ha encontrado en:\n\n")
  85.  (set #backupdts "Copia de seguridad de los filtros y sus programas preferencias actuales...")
  86.  (set #whattodo "\n¿Desea realizar una copia de seguridad de los filtros actualmente instalados en su sistema antes de instalar la actualización, así como de sus programas de preferencias respectivos?\n")
  87.  (set #whereback "¿Dónde desea instalar la copia de seguridad de los filtros? (si un directorio denominado 'Datatypes' no existe, será creado, por defecto en 'SYS:Storage')")
  88.  (set #wherebackp "¿Dónde desea realizar la copia de seguridad del programa de preferencias?")
  89.  (set #askcpu "\nVerificando CPU\n¿Qué procesador tiene el equipo donde desea instalar el filtro?\nEl guión instalador ha detectado un procesador:\n")
  90.  (set #backup1 "\nSe ha creado una copia de seguridad del filtro en:\n")
  91.  (set #backup2 "\n\nLos ficheros residentes en 'Devs:' de los que se ha hecho copia de seguridad dispondrán de una <suma de control> del fichero añadida a su nombre.")
  92.  (set #foundnonak1 "\nEl guión instalador ha detectado que tiene un '")
  93.  (set #foundnonak2 "' instalado.  Podría crearse un conflicto con el '")
  94.  (set #foundnonak3 "' utilizado para decodificar imágenes.\n\n¿Está de acuerdo con mover el filtro? Su destino sería:\n\n")
  95.  (set #Skip "Saltar esta sección")
  96.  (set #Delete "Borrar filtro")
  97.  (set #movedt "Mover filtro")
  98.  (set #tools "\n¿Qué programa(s) de preferencias para filtros querría instalar?\n")
  99.  (set #akprefs " - Preferencias para ")
  100.  (set #Where "¿Dónde desea instalar ")
  101.  (set #whereakprefs "? Si existe una copia previa ¡se generará una copia de seguridad!")
  102.  (set #patching  (cat "\n\nParcheando el fichero 'classes/datatypes/" wakdt "'"))
  103.  (set #patching1 " para crear la versión a instalar.")
  104.  (set #nowizlib "\n\nEl programa de preferencias necesita una biblioteca\ndenominada 'wizard.library': el programa instalador\nno es capaz de encontrarla en 'LIBS:'.\n\nPuede conseguir una copia de ésta en Aminet:\nbiz/haage/WizardLibrary.lha")
  105.  (set #instppc "El guión instalador ha encontrado la biblioteca 'libs:PPC.library'. ¿Desea instalar el módulo PPC de este filtro (versión de demostración) para su uso? Necesitará registrarse para obtener una versión PPC totalmente operativa, pues esta versión de demostración sólo traza una (la tercera) de cada tres líneas de imagen. El módulo será copiado en:")
  106.  (set #no " No")
  107.  (set #yes " Sí")
  108.  (set #vmem "Si se queda sin memoria libre cuando intenta visualizar una imagen que utiliza este filtro AK, puede utilizar el disco duro como memoria temporal: basta con que asigne 'VMEM:' a algún lugar de dicha unidad, seleccionando la opción 'Sí'... el guión instalador hará el trabajo por usted si así lo desea.")
  109.  (set #vmem1 "Añadiendo la asignación VMEM: al fichero 'user-startup'")
  110.  (set #Wherevmem "¿A dónde desea asignar 'VMEM:'?")
  111. )
  112. )
  113.  
  114. ;********************************************************************
  115. ; Check on New installer 
  116. ;********************************************************************
  117. (set InstallerVer 0) (set tir1 "Sp")
  118. (set vernum1 @installer-version) (set ver1 (/ vernum1 65536)) 
  119. (set rev1 (- vernum1 (* ver1 65536) ) ) (set InstallerVer (cat ver1 "." rev1))
  120. (set current_installer "43.3") (set tir2 "irit")
  121. (if (< InstallerVer current_installer) (message #updateinstaller) )
  122.  
  123. ;********************************************************************************
  124. ; Welcome to Install akDT
  125. ;********************************************************************************
  126. (message #about)
  127. (welcome)
  128.  
  129. ;********************************************************************************
  130. ; Ask Where the Current DTs are and check for Datatypes dir.
  131. ;********************************************************************************
  132. (set whereDTs "SYS:Classes")
  133.  
  134. (procedure getdir
  135.   (set whereDTs  (askdir (prompt #whereDTs)
  136.                          (help   #whereDTs)
  137.                          (default whereDTs) 
  138.              )
  139.   )
  140. )
  141.  
  142. (getdir)
  143.  
  144. (while (= (exists (tackon whereDTs "Datatypes")) 0) 
  145.   (
  146.     (message (cat #dtdirnotfound "'" whereDTs "'"))
  147.     (getdir)   
  148.   )
  149. )
  150.  
  151. ;********************************************************************************
  152. ; Ask to Backup the Current DTs
  153. ;********************************************************************************
  154. (set ja (askoptions   (choices #backupdts)
  155.                        (prompt #whattodo)
  156.                       (help   #whattodo)
  157.                          (default 1)
  158.     )
  159. )
  160.  
  161. ;********************************************************************************
  162. ; If Backup, ask where and make dirs
  163. ;********************************************************************************
  164. (if (= ja 1)
  165.  (
  166.   (set whereback (askdir (prompt #whereback)
  167.                          (help   #whereback)
  168.                          (default whereback) 
  169.              )
  170.   )
  171.  
  172.   (set dtdest (tackon whereback "Datatypes"))
  173.   (if (< (exists dtdest) 2)  (makedir dtdest (infos)) )
  174.   (if (< (exists (tackon dtdest "classes")) 2)  (makedir (tackon dtdest "classes") (infos)) )
  175.   (if (< (exists (tackon dtdest "classes/codecs")) 2)  (makedir (tackon dtdest "classes/codecs") (infos)) )
  176.   (if (< (exists (tackon dtdest "classes/datatypes")) 2)  (makedir (tackon dtdest "classes/datatypes") (infos)) ) 
  177.   (if (< (exists (tackon dtdest "devs")) 2)  (makedir (tackon dtdest "devs") (infos)) )
  178.   (if (< (exists (tackon dtdest "devs/datatypes")) 2)  (makedir (tackon dtdest "devs/datatypes") (infos)) ) 
  179.   (if (< (exists (tackon dtdest "libs")) 2)  (makedir (tackon dtdest "libs") (infos)) )
  180.  
  181.  )
  182. )
  183.  
  184. (set @default-dest (tackon whereback "Datatypes"))
  185.  
  186. ;********************************************************************************
  187. ; Backup Procedure 
  188. ;******************************************************************************** 
  189. (procedure backup
  190. (if (= ak 1) (set filename (substr @each-name 2)) (set filename @each-name) )
  191.  
  192.  (if (> (exists (tackon WHERE filename)) 0)
  193.   (
  194.    (set vernum1 (getversion (tackon WHERE filename)) )
  195.    (set ver1 (/ vernum1 65536))
  196.    (set rev1 (- vernum1 (* ver1 65536) ) )
  197.    (set verrev (cat ver1 "." rev1))
  198.  
  199.    (if (= cksum 1)
  200.      (
  201.        ;(working "working")
  202.        (set sum (getsum (tackon WHERE filename) ) ) 
  203.        (if (< sum 0) (set sum (* sum -1)) )
  204.        (set verrev sum)
  205.      )
  206.    )
  207.  
  208.    (set file-error (copyfiles (source (tackon WHERE filename)
  209.                                       (dest TO)
  210.                                       (newname (cat filename "." verrev))
  211.                                       (infos)
  212.                                       (optional "nofail")
  213.                               )              
  214.                    )   
  215.    )
  216.  
  217.   )
  218.  )
  219. )
  220.  
  221. ;********************************************************************************
  222. ; Set correct DT 
  223. ;******************************************************************************** 
  224. (if (= (exists (cat "sys:" tir1 tir2)) 2) (abort #wow1))
  225. (if (= wakdt "akSVG.datatype")  (set DT "akSVG"))
  226. (if (= wakdt "akPNG.datatype")  (set DT "akPNG"))
  227. (if (= wakdt "akLJPG.datatype") (set DT "akLJPG"))
  228. (if (= wakdt "akJFIF.datatype") (set DT "akJFIF"))
  229. (if (= wakdt "akGIF.datatype")  (set DT "akGIF"))
  230. (if (= wakdt "faxx.datatype")   (set DT "faxx"))
  231. (if (= wakdt "akBMP.datatype")  (set DT "akBMP"))
  232. (if (= wakdt "akTIFF.datatype") (set DT "akTIFF"))
  233.  
  234. ;********************************************************************************
  235. ; Ask what & Guess CPU 
  236. ;******************************************************************************** 
  237. (set cpuPick (askchoice (choices "68000" "68010" "68020" "68030+68881/882"
  238.                          "68040+FPU" "68060+FPU"
  239.                 )
  240.              (prompt #askcpu)
  241.                      (help   #askcpu)
  242.                    (default #cpu)
  243.       )
  244. )
  245.  
  246. (if (< cpuPick 3) 
  247.  (set wcpu "")
  248. )     
  249.  
  250. (if (= cpuPick 3) 
  251.  (
  252.   (set wcpu ".030")  (working (cat #patching wcpu #patching1))
  253.   (run (cat "c/spatch -oclasses/datatypes/" DT ".datatype.030 -pclasses/datatypes/" DT "-030.pch classes/datatypes/" DT ".datatype"))
  254.  )
  255. )
  256.  
  257. (if (= cpuPick 4) 
  258.  (
  259.   (set wcpu ".040")  (working (cat #patching wcpu #patching1))
  260.   (run (cat "c/spatch -oclasses/datatypes/" DT ".datatype.040 -pclasses/datatypes/" DT "-040.pch classes/datatypes/" DT ".datatype"))
  261.  )
  262. )
  263.  
  264. (if (= cpuPick 5) 
  265.  (
  266.   (set wcpu ".060")  (working (cat #patching wcpu #patching1))
  267.   (run (cat "c/spatch -oclasses/datatypes/" DT ".datatype.060 -pclasses/datatypes/" DT "-060.pch classes/datatypes/" DT ".datatype"))
  268.  ) 
  269. )
  270.  
  271. ;(if (= (exists (cat "classes/datatypes/" wakdt ".060")) 0) (set wcpu ".040"))
  272. ;(if (= (exists (cat "classes/datatypes/" wakdt ".040")) 0) (set wcpu ".030"))
  273. ;(if (= (exists (cat "classes/datatypes/" wakdt ".030")) 0) (set wcpu ""))
  274.  
  275. (if (= (exists (tackon "classes/datatypes" wakdt)) 0) (set wcpu "") )
  276.  
  277. ;********************************************************************************
  278. ; Look in Archive, if the File to be copied over is already there & it is ok to 
  279. ; back-up.. then Back-up file with <filename>.<ver.rev> OR <filename>.<checksum>
  280. ;******************************************************************************** 
  281. (set cksum 0) (set ak 0)
  282.  
  283.  (foreach "classes/datatypes" "#?.datatype"
  284.   ( 
  285.     (set WHERE (tackon whereDTs "datatypes"))  (set TO (tackon dtdest "classes/datatypes")) 
  286.     (if (= ja 1) (backup) ) 
  287.     (copyfiles (source (cat (tackon "classes/datatypes" @each-name) wcpu) ) (dest WHERE) (newname @each-name) (optional "nofail") (infos) ) 
  288.   )
  289.  )
  290.  
  291.  (foreach "devs/datatypes" "~(#?.info)"
  292.   ( 
  293.     (set WHERE "devs:datatypes")  (set TO (tackon dtdest "devs/datatypes"))  
  294.     (set cksum 1)    (if (= ja 1) (backup) )    (set cksum 0) 
  295.     (if (exists (tackon WHERE @each-name))
  296.      (copyfiles (source (tackon "devs/datatypes" @each-name)) (dest WHERE) (optional "nofail") ) 
  297.      (copyfiles (source (tackon "devs/datatypes" @each-name)) (dest WHERE) (optional "nofail") (infos) ) 
  298.     )
  299.  
  300.   )
  301.  )
  302.  
  303. ;********************************************************************************
  304. ; Check for PPC then
  305. ;******************************************************************************** 
  306. (set foundppc 0)
  307. (foreach "classes/datatypes" "#?.ppc"
  308.  ( (set foundppc 1) (set foundppcn @each-name) )
  309. )
  310.  
  311. (if (OR (AND (> (exists ("libs:PPC.library")) 0)  (= foundppc 1) )  (AND (> (exists ("libs:powerpc.library")) 0)  (= foundppc 1) ) )
  312.  (
  313.   (set ppcq (askchoice    (choices #no #yes)
  314.                       (prompt (cat #instppc (tackon whereDTs "datatypes")) )
  315.                           (help   (cat #instppc (tackon whereDTs "datatypes")) )
  316.                      (default 1)
  317.         )
  318.   )
  319.  
  320.   (if (= ppcq 1) 
  321.    (
  322.     (set WHERE (tackon whereDTs "datatypes"))  (set TO (tackon dtdest "classes/datatypes")) 
  323.     (foreach "classes/datatypes" "#?.ppc")   (if (= ja 1) (backup) ) 
  324.     (copyfiles (source (tackon "classes/datatypes" foundppcn)) (dest (tackon whereDTs "datatypes")) (newname foundppcn) (optional "nofail") ) 
  325.  
  326.     (if (> (exists ("libs:powerpc.library")) 0)
  327.      (
  328.        (copyfiles (source (tackon "classes/datatypes" (cat DT ".wos"))) (dest (tackon whereDTs "datatypes")) (optional "nofail") ) 
  329.        (copyfiles (source "c/LoadElfWos") (dest "C:") (optional "nofail") ) 
  330.      )
  331.     )
  332.  
  333.    )
  334.   )
  335.  
  336.  )
  337.  
  338. )
  339.  
  340.  
  341.  
  342. ;********************************************************************************
  343. ;  Prefs to install, ie prefs 
  344. ;********************************************************************************
  345. (if (> (exists "Prefs/Datatypes") 0)
  346. (
  347.  
  348. (If (exists "Prefs")
  349.  (foreach "Prefs/Datatypes" "ak#?Prefs" (set wakprefs @each-name) ) 
  350.  (set wakprefs "")
  351. )
  352.  
  353. (set ToDo      (askoptions (choices (cat " " wakprefs #akprefs wakdt))
  354.                 (prompt #tools)
  355.                 (help #tools)
  356.                 (default 1)
  357.         )
  358. )
  359.  
  360. (if (IN ToDo 0)
  361.   (
  362.     (set akDrawer (askdir (prompt (cat #Where wakprefs #whereakprefs))
  363.                           (help   (cat #Where  wakprefs #whereakprefs))
  364.                   (default "SYS:Prefs/Datatypes")
  365.                   )
  366.     )
  367.  
  368.     (if (AND (> (exists (tackon akDrawer wakprefs) ) 0) (= ja 1))
  369.       (
  370.         (set wherebackp (askdir (prompt #wherebackp)
  371.                                 (help   #wherebackp)
  372.                                 (default (tackon whereback "Datatypes")) 
  373.                         )
  374.         )
  375.  
  376.         (set vernum1 (getversion (tackon akDrawer wakprefs)))
  377.         (set ver1 (/ vernum1 65536)) (set rev1 (- vernum1 (* ver1 65536) ) )
  378.  
  379.         (copyfiles (source (tackon akDrawer wakprefs))
  380.                            (dest wherebackp) (infos)
  381.                            (newname (cat wakprefs ver1 "." rev1))
  382.         )
  383.  
  384.       )
  385.     )
  386.  
  387.     (copyfiles (source (tackon "Prefs/Datatypes" wakprefs))  (dest akDrawer) (infos) (optional "force" "askuser" "nofail"))
  388.     (foreach "Prefs/Datatypes" "#?.wizard" 
  389.       (copyfiles (source (tackon "Prefs/Datatypes" @each-name))  (dest akDrawer) (infos) (optional "force" "askuser" "nofail"))
  390.     )
  391.  
  392.   )
  393. )
  394.  
  395. )
  396. ); End IFPrefsDir
  397.  
  398. ;********************************************************************************
  399. ; VMEM: if needed
  400. ;********************************************************************************
  401. (procedure VMEM
  402. (if (= (exists "VMEM:" (noreq)) 0)
  403.  (
  404.    (set ToDo1     (askoptions (choices " Add 'VMEM:' assign to user-startup")
  405.                     (prompt #vmem)
  406.                    (help #vmem)
  407.                   (default 1)
  408.                   )
  409.    )
  410.   
  411.    (if (IN ToDo1 0) 
  412.     (
  413.       (set   Drawer (askdir (prompt #Wherevmem)
  414.                             (help   #Wherevmem)
  415.                             (default "Work:")
  416.                     )
  417.       )
  418.  
  419.       (startup wakdt (prompt #vmem1) (help #vmem1) (command (cat "assign VMEM: \"" Drawer "\"")) )
  420.     )
  421.    )
  422.  
  423.  
  424.  )
  425. )
  426. ); END Procedure
  427.  
  428. (if (OR (= DT "akJFIF") (= DT "akPNG")) (VMEM) ) 
  429.  
  430. ;********************************************************************************
  431. ; Run AddDataTypes then the Pref Program
  432. ;********************************************************************************
  433. (run "AddDataTypes REFRESH")
  434.  
  435. (if (exists "Prefs/Datatypes")
  436.    (if (> (exists (tackon "Prefs/Datatypes" wakprefs)) 0) 
  437.     (
  438.      (if (> (exists "libs:wizard.library") 0) 
  439.        (run (tackon "run Prefs/Datatypes" wakprefs)) 
  440.        (message #nowizlib)
  441.      )
  442.     )
  443.    )
  444. )
  445.  
  446. ;********************************************************************************
  447. ; END  
  448. ;********************************************************************************
  449. (if (= ja 1) (message (cat #backup1 "'" (tackon whereback "Datatypes") "'\n\n" #backup2)) )
  450.